xen/pci: Refactor MSI code that implements MSI functionality within XEN
authorRahul Singh <rahul.singh@arm.com>
Tue, 28 Sep 2021 18:18:10 +0000 (19:18 +0100)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Fri, 1 Oct 2021 01:22:05 +0000 (18:22 -0700)
commita12ceae85be64f8edcfaa4bf94b5b7d8dba8a2f3
tree8df78bcfedf4332040d2b7d7798be64ee97380db
parentab4a83023eda9f04ad864877c1956b087ec6fc4f
xen/pci: Refactor MSI code that implements MSI functionality within XEN

On Arm, the initial plan is to only support GICv3 ITS which doesn't
require us to manage the MSIs because the HW will protect against
spoofing. Move the code under CONFIG_HAS_PCI_MSI flag to gate the code
for ARM.

No functional change intended.

Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Reviewed-by: Daniel P. Smith <dpsmith@apertussolutions.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Kconfig
xen/drivers/passthrough/Makefile
xen/drivers/passthrough/msi.c [new file with mode: 0644]
xen/drivers/passthrough/pci.c
xen/drivers/pci/Kconfig
xen/include/xen/msi.h [new file with mode: 0644]
xen/xsm/flask/hooks.c